package study.javase.thread;

/**
 * @author LiShaowen
 * @date 2020/9/4 21:07
 */
public class Lambda {
    public static void main(String[] args) {
        new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                System.out.println("一边敲代码");
            }
        }).start();
        new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                System.out.println("一边崩溃中");
            }
        }).start();

    }


}
